package com.yt.order.models.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * 工单信息SaveBO
 *
 * @author chen
 * @Date 2025-09-05 18:26:57
 */
@Data
public class WorkOrderInfoSaveBO implements Serializable {
    @ApiModelProperty(value = "工单ID")
    private Long id;
    @ApiModelProperty(value = "数据版本号（乐观锁控制）")
    private Integer revision;
    @ApiModelProperty(value = "工单标题")
    private String title;
    @ApiModelProperty(value = "工单详细描述")
    private String des;
    @ApiModelProperty(value = "联系人姓名")
    private String name;
    @ApiModelProperty(value = "联系人电话")
    private String phone;
    @ApiModelProperty(value = "服务地址")
    private String address;
    @ApiModelProperty(value = "支付状态：0-未支付，1-已支付，2-挂账，3-免费")
    private Integer payStatus;
    @ApiModelProperty(value = "工单状态：0-未派单，1-进行中，2-已完成，3-已取消")
    private Integer status;
    @ApiModelProperty(value = "工单相关图片URL（多个用逗号分隔）")
    private String pic;
    @ApiModelProperty(value = "关联产品ID（关联product_info.id，无产品则为null）")
    private Long productId;
    @ApiModelProperty(value = "调度员ID（关联sys_user.id）")
    private Long dispatcherId;
    @ApiModelProperty(value = "接单员ID（关联sys_user.id，未派单则为null）")
    private Long employeeId;
    @ApiModelProperty(value = "工单类型：0-客户下单，1-系统自建")
    private Integer type;

    private Long customerId;

    @ApiModelProperty(value = "工单经费", required = true)
    private Float money;

    @ApiModelProperty(value = "关联用户id（关联sys_user.id，非客户创建为null）")
    private Long userId;

}